import React, { useEffect } from 'react'
import store from '../redux/store'

export default function Detail(props) {
    useEffect(() => {
        store.dispatch({
            type: 'hide-tabbar'
        })
        return () => {
            store.dispatch({
                type: 'show-tabbar'
            })
        }
    }, [])
    return (
        <div>
            {/* Detail-{props.location.query.filmId} */}
            {/* Detail-{props.location.state.filmId} */}
            {/* Detail - {props.match.params.filmId} */}
            Detail
        </div>
    )
}

